﻿using System.ComponentModel.DataAnnotations.Schema;

namespace ST.Buz.Base.Entity
{
	/// <summary>
	/// 
	/// </summary>
	public partial class IMS_FinanceRecvDue
	{
		/// <summary>
		/// 收款状态
		/// </summary>
		[NotMapped]
		public string RecvStateText
		{
			get
			{
				return RecvState > 0 ? ((ST.Buz.Base.Enums.FinancePayRecvState)RecvState).ToString() : "";
			}
		}

		/// <summary>
		/// 剩余收款金额
		/// </summary>
		[NotMapped]
		public decimal TotalRecvLeft { get { return TotalRecvDue - TotalRecved; } }
	}
}
